﻿@model Bricks.Business.Models.Account.ActionInfo

@{
    ViewBag.Title = "功能编辑";
    Layout = "~/Views/Shared/_UserPage.cshtml";
}

<div class="frombox datagrid-body" style="padding-bottom: 5px;">
    <form id="form-model" method="post">
        <table class="datagrid-btable" border="0" cellspacing="0" cellpadding="0" width="100%">
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">选择图标</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input id="menu-icon" name="Icon" data-options="required:true" value="@Model.Icon" />
                        <!--name需和字段名称对应-->
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">功能名称</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="ActionName" class="easyui-textbox" data-options="required:true" value="@Model.ActionName" />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">功能编码</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="ActionCode" class="easyui-textbox" value="@Model.ActionCode" />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">功能类型</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input id="ActionTypeNum" name="ActionTypeNum" class="easyui-combobox" value="@Model.ActionTypeNum" />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">功能描述</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="Description" class="easyui-textbox" value="@Model.Description" />
                    </div>
                </td>
            </tr>
        </table>
        <input id="ID" name="ID" type="hidden" value="@Model.ID" />
        <input name="OrderNo" type="hidden" value="@Model.OrderNo" />
        <input name="IsDeleted" type="hidden" value="@Model.IsDeleted" />
        <input name="AddDate" type="hidden" value="@Model.AddDate" />
    </form>
</div>
